﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace DS.SludgeEngine.Base
{
    public class GameInformation
    {
        private static GameConfiguration configuration = new GameConfiguration();
        private static GraphicsDeviceManager graphicsManager;
        private static Game game;
private static bool createUnit;

        public static bool CreateUnit
        {

            get
            {
                return createUnit;
            }
            set
            {
                createUnit = value;
            }
        }
        public static string UnitType;
        public static bool reset = false;
        /// <summary>
        /// Stores game gonfiguration and user options
        /// </summary>
        public static GameConfiguration Configuration
        {
            get { return GameInformation.configuration; }
            set { GameInformation.configuration = value; }
        }

        /// <summary>
        /// Graphics manager
        /// </summary>
        public static GraphicsDeviceManager GraphicsManager
        {
            get { return GameInformation.graphicsManager; }
            set { GameInformation.graphicsManager = value; }
        }

        /// <summary>
        /// The instance of the running game
        /// </summary>
        public static Game Game
        {
            get { return GameInformation.game; }
            set { GameInformation.game = value; }
        }
    }
}
